﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
using Volo.Abp.Domain.Entities;

namespace Logistics.Model
{
    /// <summary>
    /// 入职办理
    /// </summary>
    [Table("Entry")]
    public class Entry 
    {

        public int Id { get; set; }
        /// <summary>
        /// 员工编号
        /// </summary>
        public int Xid { get; set; }

        /// <summary>
        /// 部门
        /// </summary>
        public int Did { get; set; }

        /// <summary>
        /// 职位
        /// </summary>
        public int Tid { get; set; }

        /// <summary>
        /// 上级负责人
        /// </summary>
        public int Uid { get; set; }

        /// <summary>
        /// 入职日期
        /// </summary>
        public DateTime Edate { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime Edatess { get; set; }

        /// <summary>
        /// 审批状态
        /// </summary>
        public int Ezt { get; set; }


        /// <summary>
        /// 备注
        /// </summary>
        public string Eremark { get; set; }

        /// <summary>
        /// 员工姓名
        /// </summary>
        [NotMapped]
        public string SaffName { get; set; }

        /// <summary>
        /// 部门
        /// </summary>
        [NotMapped]
        public string DepName { get; set; }

        /// <summary>
        /// 职位
        /// </summary>
        [NotMapped]
        public string PostName { get; set; }

        /// <summary>
        /// 上级负责人
        /// </summary>
        [NotMapped]
        public string UpName { get; set; }

    }
}